home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / cvs-1.8 / cvs-1 / cvs-1.8.1 / src / edit.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-06  |  2.0 KB  |  43 lines

  1. /* Interface to "cvs edit", "cvs watch on", and related features
  2.  
  3.    This program is free software; you can redistribute it and/or modify
  4.    it under the terms of the GNU General Public License as published by
  5.    the Free Software Foundation; either version 2, or (at your option)
  6.    any later version.
  7.  
  8.    This program is distributed in the hope that it will be useful,
  9.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  10.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11.    GNU General Public License for more details.
  12.  
  13.    You should have received a copy of the GNU General Public License
  14.    along with this program; if not, write to the Free Software
  15.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  16.  
  17. extern int watch_on PROTO ((int argc, char **argv));
  18. extern int watch_off PROTO ((int argc, char **argv));
  19.  
  20. #ifdef CLIENT_SUPPORT
  21. /* Check to see if any notifications are sitting around in need of being
  22.    sent.  These are the notifications stored in CVSADM_NOTIFY (edit,unedit);
  23.    commit calls notify_do directly.  */
  24. extern void notify_check PROTO ((char *repository, char *update_dir));
  25. #endif /* CLIENT_SUPPORT */
  26.  
  27. /* Issue a notification for file FILENAME.  TYPE is 'E' for edit, 'U'
  28.    for unedit, and 'C' for commit.  WHO is the user currently running.
  29.    For TYPE 'E', VAL is the time+host+directory data which goes in
  30.    _editors, and WATCHES is zero or more of E,U,C, in that order, to specify
  31.    what kinds of temporary watches to set.  */
  32. extern void notify_do PROTO ((int type, char *filename, char *who,
  33.                   char *val, char *watches, char *repository));
  34.  
  35. /* Set attributes to reflect the fact that EDITOR is editing FILENAME.
  36.    VAL is time+host+directory, or NULL if we are to say that EDITOR is
  37.    *not* editing FILENAME.  */
  38. extern void editor_set PROTO ((char *filename, char *editor, char *val));
  39.  
  40. /* Take note of the fact that FILE is up to date (this munges CVS/Base;
  41.    processing of CVS/Entries is done separately).  */
  42. extern void mark_up_to_date PROTO ((char *file));
  43.